<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/global.css"/>
<title>top</title>
<script type="text/javascript" src="jquery/jquery-1.3.1.pack.js"></script>
<script type="text/javascript" src="common/js/common.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	showTime();
	cw.common.getUserSession(getUserInfo);
})

function getUserInfo(userinfo){
	$('#username').html(userinfo.USER_NAME);
	setInterval("showTime()",1000);	
}

function showTime() {
	var nowtime = new Date().toLocaleString();
	$('#timePanel').text(nowtime);
}
function exitSys(){
	if(confirm("你确定要退出吗？")){
		$.post(cw.common.path + '/json?action=LOGOUT_ACTION',{},
			function(data){
				if(data.success){
					window.parent.location.href=cw.common.path + '/index.html';
				}
				else{
					alert(data.errors.errmsg);
				}
		},'json');
	}
}
</script>
</head>

<body>
<div align="center" style="background:url(images/main1.gif); width:100%">
	<div >
		<!-- <img src="images/top-left.png" border="0" width=55px height=55px style="float:left"> -->
		<img src="images/main2.jpg" border="0" usemap="#Map">
		<map name="Map">
			<area shape="rect" coords="70,29,147,53" href="mainFrame.html" target="mainFrame" >
			<area shape="rect" coords="185,29,269,53" href="sysmanage/userinfo.html" target="mainFrame" >
			<area shape="rect" coords="686,29,747,54" href="sysmanage/password.html" target="mainFrame">
			<area shape="rect" coords="773,29,822,53" href="javascript:exitSys();" >
	  </map>
  </div>
</div>
<div style="background: url(images/main3.gif); height:26px; width:100%">
	<div style="width:177px; float:left"><img src="images/TE_4.gif"></div>
	<div style="width:350px; float:right; padding-top:8px; padding-right:0px;">
	欢迎您：<span id="username"></span>&nbsp;&nbsp;
	当前时间：<span id="timePanel"></span>
	</div>
</div>

</body>
</html>

  
  